import PageTools from './PageTools'
import UploadExcel from './UploadExcel'
import ImageUpload from './ImageUpload'
import Print from 'vue-print-nb'
import ScreenFull from './ScreenFull'
import ThemePicker from './ThemePicker'
import Lang from './Lang'
import TagsView from './TagsView'
// 负责所有全局定义的方法
export default {
  //  组件的注册
  install(Vue) {
    // 注册工具栏组件
    Vue.component('PageTools', PageTools)
    // 注册导入excel组件
    Vue.component('UploadExcel', UploadExcel)
    // 注册图片上传组件
    Vue.component('ImageUpload', ImageUpload)
    // 注册全屏组件
    Vue.component('ScreenFull', ScreenFull)
    // 注册动态主题组件
    Vue.component('ThemePicker', ThemePicker)
    // 注册多语言组件
    Vue.component('Lang', Lang)
    // 注册多页签组件
    Vue.component('TagsView',TagsView)
    // 注册打印组件
    Vue.use(Print)
  }
}
